package com.jingtai.platform.service.shop;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jingtai.core.entity.shop.GoodsCategory;
import com.jingtai.platform.util.ResultUtil;

/**
 * 商品分类表
 *
 * @author sunlaiqian
 * @date 2020-12-02 18:31:33
 */
public interface GoodsCategoryService extends IService<GoodsCategory> {

    ResultUtil GoodsCategorylist(Integer page, Integer limit, String conditions);

    ResultUtil getGoodsCategoryById(Long id);

    ResultUtil addGoodsCategory(GoodsCategory goodsCategory);

    ResultUtil editGoodsCategory(GoodsCategory goodsCategory);

    ResultUtil delGoodsCategoryById(Long id);

    ResultUtil selectAllCategory();

    ResultUtil selectGoodsCategoryOfOne();

    ResultUtil selectGoodsCategoryOfTwoById(Long id);
}

